package com.dongdongshop.service;

import com.dongdongshop.data.Page;
import com.dongdongshop.pojo.TbBrand;

import java.util.List;

public interface BrandService {
    List<TbBrand> findAll();

    boolean addInfo(TbBrand tbBrand);

    TbBrand toUpdate(Integer id);

    boolean update(TbBrand tbBrand);

    boolean deleteAll(Integer[] arr);


    Page<List<TbBrand>> findPage(Integer pageNum, Integer pageSize, String name);
}
